Scroll to navigation

lsm_connect_timeout_set(3) Libstoragemgmt C API Manual lsm_connect_timeout_set(3)

NAME

lsm_connect_timeout_set - Sets the time-out for this connection.

SYNOPSIS

int lsm_connect_timeout_set (lsm_connect *conn, uint32_t timeout, lsm_flag flags);

ARGUMENTS

Valid lsm_connect pointer.
Time-out in ms.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Sets the time-out for this connection.

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or invalid lsm_connect or invalid
flags.

lsm_connect_timeout_set April 2021